Mesmerize\Companion D

Total Complexity 261
Dependencies 9
Dependents 11
Total lines 1,485
Lines of code 1,078
Logical lines of code 589
Comment lines 30
Methods 74
Properties 9

Methods 74

Method Rating Maintainability Complexity Lines of code
getThemeMod()
A
44 12 47
applyOnPrimaryLanguage()
A
50 12 26
setPageContent()
A
46 9 39
__construct()
A
46 9 38
isFrontPage()
A
54 10 18
addAdminScripts()
A
39 3 120
shortcodeRefresh()
A
49 9 29
requireCPData()
A
44 8 42
openPageInCustomizer()
A
50 8 25
canEditInCustomizer()
A
54 8 22
canShowDefaultEditor()
A
54 8 21
loadData()
A
49 7 32
setKirkiOutputFields()
S
51 7 25
translateArgs()
S
57 7 16
isMaintainable()
S
59 7 12
checkForThemePreviewedInCustomizer()
S
52 6 23
isWCPage()
S
56 6 20
letToNum()
S
57 6 17
initCompanion()
S
45 4 40
filterDefault()
S
54 5 21
getTreeValueAt()
S
59 5 14
getCurrentPageId()
S
61 5 12
_createFrontPage()
S
46 3 39
getCustomizerData()
S
59 4 15
maintainablePageEditor()
S
58 4 14
restoreMetaFieldRevision()
S
60 4 13
checkIfCompatibleChildTheme()
S
61 4 12
saveMetaFieldRevision()
S
61 4 12
wrapPostContentInSection()
S
58 3 15
load()
S
63 4 10
get_page_link()
S
59 3 14
addGoogleFonts()
S
61 3 12
isProtectedMeta()
S
62 3 11
cacheData()
S
60 2 24
rootURL()
S
58 2 15
getFrontPage()
S
62 2 11
restoreFrontPage()
S
70 2 6
isCurrentThemeSupported()
S
69 2 6
createFrontPage()
S
68 2 7
addEditInCustomizerPageButtons()
S
69 2 6
customizer()
S
71 2 6
addEditInCustomizer()
S
66 2 8
openPageInDefaultEditor()
S
66 2 8
showRichTextEditor()
S
69 2 7
loadJSON()
S
68 2 7
isCustomizePreview()
S
69 2 6
getThemeSlug()
S
69 2 7
wpEditorSettings()
S
71 2 6
loadPHPConfig()
S
69 2 7
checkNotifications()
S
66 2 9
addMaintainableMetaToRevision()
S
65 2 8
filterArrayDefaults()
S
70 2 6
prefixedMod()
S
71 2 5
getDataHash()
S
62 1 13
echoURLMod()
S
71 1 5
instance()
S
80 1 3
themeDataPath()
S
79 1 3
isMultipage()
S
79 1 3
echoMod()
S
78 1 3
getThemeName()
S
79 1 3
registerActivationHooks()
S
66 1 9
themeDataURL()
S
79 1 3
getMetaFieldRevision()
S
75 1 4
dataURL()
S
79 1 3
loadJSONFile()
S
80 1 3
getTheme()
S
80 1 3
getMaintainableMetaKeys()
S
76 1 4
assetsRootPath()
S
80 1 3
assetsRootURL()
S
80 1 3
loadMaintainablePageAssets()
S
79 1 3
getMaintainableKeysLabelPair()
S
67 1 7
replaceEditor()
S
80 1 3
getInstanceData()
S
80 1 3
rootPath()
S
80 1 3